﻿using System;

namespace Stock.Model

{	/// <summary>
    /// StockOptHis:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class StockOptHisEntity
    {
        public StockOptHisEntity()
        { }

        #region Model

        private int _id;
        private int _userid;
        private string _stockid;
        private string _stockName;
        private decimal? _price;
        private int? _copies;
        private decimal _amount;
        private string _type;
        private string _remark;
        private string _optdate;

        /// <summary>
        ///
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }

        /// <summary>
        ///
        /// </summary>
        public int UserID
        {
            set { _userid = value; }
            get { return _userid; }
        }

        /// <summary>
        ///
        /// </summary>
        public string StockID
        {
            set { _stockid = value; }
            get { return _stockid; }
        }

        /// <summary>
        ///
        /// </summary>
        public string StockName
        {
            set { _stockName = value; }
            get { return _stockName; }
        }

        /// <summary>
        ///
        /// </summary>
        public decimal? Price
        {
            set { _price = value; }
            get { return _price; }
        }

        /// <summary>
        ///
        /// </summary>
        public int? Copies
        {
            set { _copies = value; }
            get { return _copies; }
        }

        /// <summary>
        ///
        /// </summary>
        public decimal Amount
        {
            set { _amount = value; }
            get { return _amount; }
        }

        /// <summary>
        ///
        /// </summary>
        public string Type
        {
            set { _type = value; }
            get { return _type; }
        }

        /// <summary>
        ///
        /// </summary>
        public string Remark
        {
            set { _remark = value; }
            get { return _remark; }
        }

        /// <summary>
        ///
        /// </summary>
        public string OptDate
        {
            set { _optdate = value; }
            get { return _optdate; }
        }

        #endregion Model
    }
}